home *** CD-ROM | disk | FTP | other *** search
- function GlockChange()
- {
- _root.pgunname = "Glock";
- _root.pgunactive = 2;
- _root.pguncap = 12 + _root.glockinccap;
- _root.pgunrounds = _root.glockrounds;
- _root.rounds = _root.pgunrounds;
- _root.pgundamage = 5 + _root.glockincdam;
- _root.pgunreloadpos = 10;
- _root.pgunbulletexitr = 65;
- _root.pgunbulletexitl = 30;
- _root.clips = "--";
- _root.pshottype = "Single";
- _root.pbulletpos = 1;
- _root.glockicon.gotoAndStop(2);
- _root.thompsonicon.gotoAndStop(1);
- _root.shotgunicon.gotoAndStop(1);
- _root.deagleicon.gotoAndStop(1);
- _root.AK47icon.gotoAndStop(1);
- }
- function ThompsonChange()
- {
- _root.pgunname = "Thompson";
- _root.pgunactive = 3;
- _root.pguncap = 30 + _root.thompsoninccap;
- _root.pgunrounds = _root.thompsonrounds;
- _root.rounds = _root.pgunrounds;
- _root.pgundamage = 8 + _root.thompincdam;
- _root.pgunreloadpos = 10;
- _root.pgunbulletexitr = 65;
- _root.pgunbulletexitl = 30;
- _root.clips = _root.ptclips;
- _root.pshottype = "Single";
- _root.pbulletpos = 2;
- _root.glockicon.gotoAndStop(1);
- _root.thompsonicon.gotoAndStop(2);
- _root.shotgunicon.gotoAndStop(1);
- _root.deagleicon.gotoAndStop(1);
- _root.AK47icon.gotoAndStop(1);
- }
- function ShotgunChange()
- {
- _root.pgunname = "Shotgun";
- _root.pgunactive = 4;
- _root.pguncap = 7 + _root.shotguninccap;
- _root.pgunrounds = _root.shotgunrounds;
- _root.rounds = _root.pgunrounds;
- _root.pgundamage = 25 + _root.shotgunincdam;
- _root.pgunreloadpos = 21;
- _root.pgunbulletexitr = 65;
- _root.pgunbulletexitl = 30;
- _root.clips = _root.ptclips;
- _root.pshottype = "Single";
- _root.pbulletpos = 3;
- _root.glockicon.gotoAndStop(1);
- _root.thompsonicon.gotoAndStop(1);
- _root.shotgunicon.gotoAndStop(2);
- _root.deagleicon.gotoAndStop(1);
- _root.AK47icon.gotoAndStop(1);
- }
- function DeagleChange()
- {
- _root.pgunname = "Desert Eagle";
- _root.pgunactive = 5;
- _root.pguncap = 7 + _root.deagleinccap;
- _root.pgunrounds = _root.deaglerounds;
- _root.rounds = _root.pgunrounds;
- _root.pgundamage = 15 + _root.deagleincdam;
- _root.pgunreloadpos = 16;
- _root.pgunbulletexitr = 65;
- _root.pgunbulletexitl = 30;
- _root.clips = _root.ptclips;
- _root.pshottype = "Single";
- _root.pbulletpos = 4;
- _root.glockicon.gotoAndStop(1);
- _root.thompsonicon.gotoAndStop(1);
- _root.shotgunicon.gotoAndStop(1);
- _root.deagleicon.gotoAndStop(2);
- _root.AK47icon.gotoAndStop(1);
- }
- function AK47Change()
- {
- _root.pgunname = "AK 47";
- _root.pgunactive = 6;
- _root.pguncap = 35 + _root.ak47inccap;
- _root.pgunrounds = _root.ak47rounds;
- _root.rounds = _root.pgunrounds;
- _root.pgundamage = 28 + _root.ak47incdam;
- _root.pgunreloadpos = 10;
- _root.pgunbulletexitr = 65;
- _root.pgunbulletexitl = 30;
- _root.clips = _root.ptclips;
- _root.pshottype = "Single";
- _root.pbulletpos = 5;
- _root.glockicon.gotoAndStop(1);
- _root.thompsonicon.gotoAndStop(1);
- _root.shotgunicon.gotoAndStop(1);
- _root.deagleicon.gotoAndStop(1);
- _root.AK47icon.gotoAndStop(2);
- }
- stop();
- sndlaserbeam = new Sound();
- sndlaserbeam.attachSound("Snd Laser Beam");
- sndmouthclose = new Sound();
- sndmouthclose.attachSound("Snd Colt 45");
- sndthompsonburst = new Sound();
- sndthompsonburst.attachSound("Snd Thompson Burst");
- sndmauserrifleshot = new Sound();
- sndmauserrifleshot.attachSound("Snd Mauser Rifle Shot");
- sndgorebastard_sifha = new Sound();
- sndgorebastard_sifha.attachSound("Snd GoreBastard_MP");
- sndgorebastard_btm = new Sound();
- sndgorebastard_btm.attachSound("Snd GoreBastard_BTM");
- sndthwap = new Sound();
- sndthwap.attachSound("Snd Thwap");
- sndexplosion = new Sound();
- sndexplosion.attachSound("Snd Explosion");
- sndcannon = new Sound();
- sndcannon.attachSound("Snd Cannon");
- sndm1garand = new Sound();
- sndm1garand.attachSound("Snd M1 Garand Shot");
- sndexplode = new Sound();
- sndexplode.attachSound("Snd Explode");
- sndblipup = new Sound();
- sndblipup.attachSound("Snd Blip Up");
- sndshutter = new Sound();
- sndshutter.attachSound("Snd Shield Up");
- sndclocktick = new Sound();
- sndclocktick.attachSound("Snd Clock Tick");
- snddoorlatch = new Sound();
- snddoorlatch.attachSound("Snd Door Latch");
- snddoorclose = new Sound();
- snddoorclose.attachSound("Snd Door Close");
- sndthump = new Sound();
- sndthump.attachSound("Snd Thump");
- sndglass = new Sound();
- sndglass.attachSound("Snd Glass");
- sndphone = new Sound();
- sndphone.attachSound("Snd Phone");
- sndbag = new Sound();
- sndbag.attachSound("Snd Bag");
- sndmatch = new Sound();
- sndmatch.attachSound("Snd Match");
- sndmac11shot = new Sound();
- sndmac11shot.attachSound("Snd MAC11 Shot");
- sndmetalstomp = new Sound();
- sndmetalstomp.attachSound("Snd Metal Stomp");
- sndmetalhit = new Sound();
- sndmetalhit.attachSound("Snd Metal Hit");
- sndglockshot = new Sound();
- sndglockshot.attachSound("Snd Glock Shot");
- sndthompsonshot = new Sound();
- sndthompsonshot.attachSound("Snd Thompson Single Shot");
- sndshieldup = new Sound();
- sndshieldup.attachSound("Snd Shield Up 02");
- sndshielddown = new Sound();
- sndshielddown.attachSound("Snd Shield Down");
- sndclick01 = new Sound();
- sndclick01.attachSound("Snd Click 01");
- sndreload = new Sound();
- sndreload.attachSound("Snd M1 Garand Reload");
- sndreload02 = new Sound();
- sndreload02.attachSound("Snd Thompson Reload");
- sndshotgunshot = new Sound();
- sndshotgunshot.attachSound("Snd Single Shotgun Shot");
- sndshotguncock = new Sound();
- sndshotguncock.attachSound("Snd Shotgun Cock");
- snddeserteagleshot = new Sound();
- snddeserteagleshot.attachSound("Snd Desert Eagle Shot");
- sndrifleshot = new Sound();
- sndrifleshot.attachSound("Snd Rifle Shot");
- _root.hatpos = 1;
- _root.musicoff = false;
- _root.crosshairtype = 1;
-